package com.hadwinling.blog.util;

import com.baidu.aip.contentcensor.AipContentCensor;
import lombok.Data;
import org.springframework.stereotype.Component;

//百度文字/图像审核接口配置
@Data
@Component
//@ConfigurationProperties(prefix = "baidu")
public class Baiducensorconfig {
    //设置AppId/AK/SK
    public static String appId="20046378";
    public static String apiKey="mFof4850kOtfVWhdHxPI4E5S";
    public static String secretKey="jaM23LI34VlkNOluiVsvN5G5yRwz1kPL";
    //初始化客户端
    public static final AipContentCensor client=new AipContentCensor(appId,apiKey,secretKey);
}
